SUBDIRS = CashDrawer LineDisplay MSR POSPrinter Scanner SignatureCapture

pkglib_LTLIBRARIES = libcontrol.la


DEFS = @DEFS@
AM_CXXFLAGS = @OBJS_CXXFLAGS@ -I../include

libcontrol_la_SOURCES = BaseControl.cpp \
					   	CashDrawer/CashDrawerControl.cpp \
						LineDisplay/LineDisplayControl.cpp \
						MSR/MSRControl.cpp \
						POSPrinter/POSPrinterControl.cpp \
						Scanner/ScannerControl.cpp \
						SignatureCapture/SignatureCaptureControl.cpp

libcontrol_la_DEFENDENCIES = CashDrawer/CashDrawerControl.la \
							LineDisplay/LineDisplayControl.la \
							MSR/MSRControl.la \
							POSPrinter/POSPrinterControl.la \
							Scanner/ScannerControl.la \
							SignatureCapture/SignatureCaptureControl.la

pkginclude_HEADERS = ../include/control/CashDrawerControl.h \
				  ../include/control/LineDisplayControl.h \
				  ../include/control/MSRControl.h \
				  ../include/control/POSPrinterControl.h \
				  ../include/control/ScannerControl.h \
				  ../include/control/SignatureCaptureControl.h \
				  ../include/BaseControl.h \
				  ../include/BooyoPOSException.h

#clean:
#	@ for i in $(SUBDIRS); do \
#		$(MAKE) -C $$i clean; \
#		done
#	-rm -rf *.o *.lo *.la
#	@echo Removed all files in `pwd` directory
